﻿using Prism.Ioc;
using Prism.Regions;

namespace ZhCnResourceModule
{
    /// <summary>
    /// 中文资源提供者
    /// </summary>
    public class ResourceProvider : ResourceLocalization.IResourceProvider
    {
        /// <summary>
        /// 区域管理器
        /// </summary>
        IRegionManager RegionManager { get; set; }
        /// <summary>
        /// IOC 注入
        /// </summary>
        IContainerProvider ContainerProvider { get; set; }
        /// <summary>
        /// IOC 提取
        /// </summary>
        IContainerRegistry ContainerRegistry { get; set; }

        /// <summary>
        /// 中文资源提供者
        /// </summary>
        /// <param name="regionManager">区域管理器</param>
        /// <param name="containerProvider">IOC 注入</param>
        /// <param name="containerRegistry">IOC 提取</param>
        public ResourceProvider(
            IRegionManager regionManager,
            IContainerProvider containerProvider,
            IContainerRegistry containerRegistry)
        {
            RegionManager = regionManager;
            ContainerProvider = containerProvider;
            ContainerRegistry = containerRegistry;
        }
        /// <summary>
        /// 注入 相应的资源
        /// </summary>
        public void Use()
        {
             
        }
    }
}
